package src.cn.itcast.day10.demo05;

/**
 * @author shkstart
 * @create 2020-04-17 15:01
 */
public class MinAnimal {
}
class Cat extends Animal {

    @Override
    public void eat() {
        System.out.println("吃鱼");
    }
}
class Dog extends Animal {

    @Override
    public void eat() {
        System.out.println("吃骨头");
    }
}
